package com.tanhua.dubbo.server.vo;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

@Data
@AllArgsConstructor
public class PageInfo<T> implements Serializable {

    private static final long serialVersionUID = -827364876324L;

    private Integer total = 0;

    private Integer pageNum = 0;

    private Integer pageSize= 0;

    private List<T> records = Collections.emptyList();
}
